package com.immo.libcommon.base;

/**
 * @author Administrator
 * @content 基类
 * @date 2017/11/10
 */
@SuppressWarnings("unused")
public class BaseBean {
    public boolean getState() {
        return state;
    }

    public void setState(boolean state) {
        this.state = state;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    /**
     * code : 返回码
     * data : 接口返回数据
     * message : 接口信息
     */

    private boolean state;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    private boolean success;
    private String msg;

    public String getMessage() {
        return message == null ? "" : message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    private String message;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    private int code = 1;

}
